home *** CD-ROM | disk | FTP | other *** search
/ HTBasic 9.3 / HTBasic 9.3.iso / SICL / data1.cab / rvxi32 / devices next >
Encoding:
Text File  |  2001-03-02  |  7.4 KB  |  199 lines

  1. # RadiSys EPConnect device definition file.
  2. #
  3. # $Revision:   1.8  $
  4. # $Date:   20 Jan 1995 14:45:16  $
  5. #
  6. # Configuration data begins at line containing ">>> Configuration starts here"
  7. #
  8. # This file defines the names for the devices reachable with EPConnect
  9. # software for use by the RadiSys SURM and certain other utilities,
  10. # possibly including the VXI configurator.  This is a human editable file,
  11. # but beware that some utilities that edit this file may not preserve the
  12. # whitespace within device definitions they change.
  13. #
  14. # Device definitions have the following form:
  15. #
  16. # <definition>          : <name-assignment> [,<variable-assignment>]* <newline>
  17. # <name-assignment>     : "name" "=" <devicename>
  18. # <variable-assignment> : <variable>=<value>
  19. # <variable>            : <string>
  20. # <value>               : <string>
  21. #
  22. # A string is a sequence containing any characters except an unquoted
  23. # comma or equal sign.  Unquoted leading or trailing whitespace characters 
  24. # will be removed from strings.
  25. #
  26. # A devicename is an IEEE 488.2 device name.
  27. #
  28. # The variables allowed depend on the device type.  In general, incorrectly
  29. # named variables are ignored.  The form of the value assigned depends on
  30. # the variable.  See below for expected variables and allowed values.  In 
  31. # general variable name matching is case insensitive.  If the value is an
  32. # ordinal type (i.e. {"VME","VXI","GPIB"}) value matching is also case
  33. # insensitive.
  34. #
  35. # The primary application of this file if for device configuration via
  36. # the Start Up Resource Manager (SURM).  The variables used by the SURM
  37. # are:
  38. #
  39. # name
  40. # All devices must have a name variable defined.  The name must conform to
  41. # the IEEE 488.2 spec for device names. 
  42. # media
  43. # All devices must have a media variable defined.  Valid values are VXI,
  44. # VME, and GPIB.  The value of this variable affects the interpretation
  45. # of some of the other variables, and determines how the device will be
  46. # treated by the SURM. 
  47. # make 
  48. # model
  49. # All devices may have make and model variables assigned.  They are used
  50. # for name binding in the SURM and future reference by user applications. 
  51. # To be effective for naming VXI devices, they must match exactly one of
  52. # the make or model names defined in vximanuf or vximodel, respectively. 
  53. # slot 
  54. # bus
  55. # A VXI device may have a slot and/or bus variable defined for name binding 
  56. # purposes.  These are both in decimal.  See the SURM documentation for
  57. # details on VXI and MXI bus numbering.
  58. # device
  59. # A VXI device may have a device variable defined for name binding. 
  60. # Though rare (possibly nonexistent), it is possible for multiple devices
  61. # to exist within a single VXI plug-in module.  This variable provides a
  62. # mechanism to distinguish them for naming.  This value is in decimal. 
  63. # The first device in a module is number 0. 
  64. # ula 
  65. # A VXI device may have a ula variable defined for name binding.  The ULA
  66. # is in decimal.  This is not the recommended way to name dynamically
  67. # configured devices, since their ULAs are not entirely predictable.  For
  68. # historical reasons, all devices are given ULAs regardless of whether
  69. # they have configuration registers in A16 (or contact the VXI bus at
  70. # all).  For non-VXI devices, the ULA is assigned based on this variable
  71. # if defined.  Otherwise a convenient value is selected by the SURM. 
  72. # commander 
  73. # Any device may have a comander variable defined.  The value of this 
  74. # variable is the name of anotehr device.  If the device and its commander 
  75. # are both VXI, appropriate action is taken by the SURM to make the deice 
  76. # a VXI servant of the named commander.  For other media types, the 
  77. # relationship is stored for reference. 
  78. # handlermap 
  79. # interruptermap
  80. # Any VXI or VME device may have interrupt maps defined by these
  81. # variables.  The handlermap variable indicates which IRQ lines a device
  82. # can/will handle interrupts on.  If the device is VXI, and has
  83. # programmable handler capability, it will be programmed to handle the
  84. # interrupts specified here.  The interruptermap is treated
  85. # correspondingly.  In any case, IRQ lines specified this way will not be
  86. # assigned by the SURM to any other PH capable VXI device.  Maps for VXI
  87. # devices which are not found in the system are ignored (no IRQs
  88. # reserved).  VME devices are always assumed to be present. 
  89. # The value of these variables is a string of 7 digits.  The rightmost
  90. # digit corresponds to interrupter or handler number 1.  The digits are 1
  91. # through 7, and indicate the IRQ line to which the interrupter or handler
  92. # is connected. 
  93. # a16base
  94. # a16size
  95. # a24base
  96. # a24size
  97. # a32base
  98. # a32size
  99. # VME devices use these variables to define what section of the various
  100. # address spaces they occupy.  Values are in hex.  If either size or base
  101. # is missing, the space is assumed to be unused by the device. 
  102. # byteorder
  103. # VME devices use this to specify what byte order should be used
  104. # when accessing their memory.  Use I for little-endian (Intel), or M for
  105. # big-endian (Motorola). 
  106. # datawidth
  107. # VME devices use this to specify the data width that should be 
  108. # used when accessing their memory.  Use D08 (8-bit), D08O (8-bit odd 
  109. # address only), D16 (16-bit), or D32 (32-bit). 
  110. # primary
  111. # secondary
  112. # GPIB devices must have a primary variable defined.  Secondary defaults
  113. # to 0.  These form the device's address on the GPIB bus. 
  114. #
  115. # Lines beginning with # are comments, and are ignored.
  116. #
  117. # A single character may be quoted by placing a backslash (\) in front of it.
  118. # An entire string may be quoted by surrounding it with double quote 
  119. # characters (").
  120. #
  121. # A quoted newline does not mark the end of a definition, so placing a 
  122. # backslash at the end of a line of a definition causes the next line to
  123. # be treated as a continuation of the definition.
  124. #
  125. # Redundant names provide an OR function of sorts for naming constraints.
  126. # Variables associated with naming VXI devices within a single definition
  127. # are implicitly ANDed.  Be aware that the first assignment of a given 
  128. # variable (the one from the earliest definition) will be the one the SURM
  129. # finds.  For example, no matter which of these TopCmdr definitions causes
  130. # the name to be assigned, the SURM will consider the configured handler map
  131. # to be "1", not "10".
  132. #
  133. # name=TopCmdr,    \
  134. #        media=        VXI,        \
  135. #        make=        "RadiSys Corp",    \
  136. #        model=        EPC-7 S0,    \
  137. #        handlermap=    1,        \
  138. #
  139. # Here's a sample VXI device definition.  This much specification is 
  140. # sufficient if only one of this type of VXI device will be present
  141. # in the system.
  142. #
  143. # name=tekdmm,    \
  144. #        media=        VXI,        \
  145. #        make=        Tektronix,    \
  146. #        model=        VX4236
  147. #
  148. #
  149. # Here's a sample GPIB device definition.
  150. #
  151. # name=tekps,    \
  152. #        media=GPIB, make=Tektronix, model=PS5004,        \
  153. #        primary=1
  154. #
  155. # Here's a minimal VME device definition for a device occupying 64k in A24.
  156. #
  157. # name=ram_card,\
  158. #        media=VME, a24base=800000, a24size=10000
  159. #
  160. #
  161. # ----------------------------------------------------------------------------
  162. # ----------------------------------------------------------------------------
  163. # >>> Configuration starts here
  164.  
  165. # This name will match any RadiSys computer with ULA==0.  The resource
  166. # manager always has ULA==0.
  167. #
  168. # SICL normally requires that the resource manager handle all interrupts.
  169. #
  170. name=TopCmdr,    \
  171.         media=        VXI,        \
  172.         ula=        0,        \
  173.         handlermap=    7654321        
  174.